﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using Volo.Abp;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace Himp.Platform.Dc
{
    /// <summary>
    /// 药品生产厂家
    /// </summary>
    [Table("DRUG_PRDR")]
    public class DrugPrdr : Entity<Guid>, IMultiTenant, ISoftDelete
    {
        /// <summary>
        /// 生产厂家编码
        /// </summary>
        [Column("PRDR_CODG")]
        public string PrdrCodg { get; set; }

        /// <summary>
        /// 生产厂家名称
        /// </summary>
        [Column("PRDR_NAME")]
        public string PrdrName { get; set; }

        /// <summary>
        /// 拼音码
        /// </summary>
        [Column("PINYINCODE")]
        public string Pinyincode { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        [Column("CONER")]
        public string? Coner { get; set; }

        /// <summary>
        /// 电话
        /// </summary>
        [Column("TEL")]
        public string? Tel { get; set; }

        //todo 产地

        /// <summary>
        /// 审核人编码
        /// </summary>
        [Column("CHKER_CODG")]
        public string? ChkerCodg { get; set; }

        /// <summary>
        /// 审核人名称
        /// </summary>
        [Column("CHKER_NAME")]
        public string? ChkerName { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        [Column("CHK_TIME")]
        public DateTime? ChkTime { get; set; }

        /// <summary>
        /// 有效标识
        /// </summary>
        [Column("VALI_FLAG")]
        public bool ValiFlag { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public Guid? TenantId { get; set; }

        /// <summary>
        /// 删除标志
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
